Object.prototype.myCreate = function (obj) {
    let Fn = function () { }
    Fn.prototype = obj
    return new Fn()
}

function Fn() { 
    this.name = '张三'
}
console.log(Object.create(Fn));
console.log(Object.myCreate(Fn));
console.log(new Fn());